-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix gpg wrong column types #1303
Conversation
This should be ok but I will test it in 4 hour after work. The migration is a little hard but we don't care at this stage ^^ The test build seem broken ... |
ea19504
to
37eee63
Compare
API work perfect but can't confirm if it fix mariadb compat prob right now. I trust you on that ^^ |
This fixes the issue for me on MariaDB 10.1.21 |
Trusted LGTM |
Trusted LGTM |
CanCertify bool | ||
} | ||
|
||
if err := x.DropTables(new(GPGKey)); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you're dropping all added GPG-keys? 😱
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now they shouldn't have any key in most db since the only available method is through the API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then why migrate at all ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because if someone allready upgrade to master (with a other backend than mariadb) he will not have the same table that the one that don't ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lunny Might be a good idea to add that to the description next time 😉
LGTM |
This will fix #1283 @sapk could you confirm this will not break GPG feature?